<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/static/ckeditor/highlight/default.min.css}">
    <script th:src="@{/static/ckeditor/highlight/highlight.min.js}"></script>
    <script>hljs.initHighlightingOnLoad(); </script>
</head>
<body>
<pre>
<code class="language-java">
    /**
     * 登录
     * @author  lilonglong
     * @date 2019/10/8 18:28
     */
    @PostMapping("/dologin")
    public String doLogin(String username, String password, ModelMap model){
        String result = loginService.login(username, password);
        if("success".equals(result)){
            return "index";
        }
        model.put("errorMsg",result);
        return "login/login2";
    }</code></pre>

<p>&nbsp;</p>
ck:24:14
<pre>
<code class="language-java">  /**
     * 登录
     * @author  lilonglong
     * @date 2019/10/8 18:28
     */
    @PostMapping("/dologin")
    public String doLogin(String username, String password, ModelMap model){
        String result = loginService.login(username, password);
        if("success".equals(result)){
            return "index";
        }
        model.put("errorMsg",result);
        return "login/login2";
    }</code></pre>

<p>订单</p>
</body>
</html>